package com.lrkj.payfee.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 优惠政策设置对象 tb_favoured_conf
 *
 * @author yajun_ren
 * @date 2021-08-14
 */
public class FavouredConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String favouredConfId;

    /** 优惠政策ID */
    @Excel(name = "优惠政策ID")
    private String favouredPolicyId;

    /** 收费标准条件 */
    @Excel(name = "收费标准条件")
    private String normCn;

    /** 收费标准应用 */
    @Excel(name = "收费标准应用")
    private String normApply;

    /** 岗位ID */
    @Excel(name = "岗位")
    private String postId;

    /** 减免月 */
    @Excel(name = "减免月")
    private String derateMonth;

    /** 折扣率 */
    @Excel(name = "折扣率")
    private BigDecimal depositRate;

    /** 减免金额 */
    @Excel(name = "减免金额")
    private BigDecimal money;

    /** 缴足月 */
    @Excel(name = "缴足月")
    private String mature;

    /** 数量 */
    @Excel(name = "数量")
    private Integer quantity;

    /** 物品 */
    @Excel(name = "物品")
    private String goods;

    /** 开始月 */
    @Excel(name = "开始月")
    private String beginMonth;

    /** 结束月 */
    @Excel(name = "结束月")
    private String finishMonth;

    /** 优惠卷 */
    @Excel(name = "优惠卷")
    private String discountVolume;

    /** 优惠卷开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "优惠卷开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginTime;

    /** 优惠卷结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "优惠卷结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finishTime;

    public void setFavouredConfId(String favouredConfId)
    {
        this.favouredConfId = favouredConfId;
    }

    public String getFavouredConfId()
    {
        return favouredConfId;
    }
    public void setFavouredPolicyId(String favouredPolicyId)
    {
        this.favouredPolicyId = favouredPolicyId;
    }

    public String getFavouredPolicyId()
    {
        return favouredPolicyId;
    }
    public void setNormCn(String normCn)
    {
        this.normCn = normCn;
    }

    public String getNormCn()
    {
        return normCn;
    }
    public void setNormApply(String normApply)
    {
        this.normApply = normApply;
    }

    public String getNormApply()
    {
        return normApply;
    }
    public void setPostId(String postId)
    {
        this.postId = postId;
    }

    public String getPostId()
    {
        return postId;
    }
    public void setDerateMonth(String derateMonth)
    {
        this.derateMonth = derateMonth;
    }

    public String getDerateMonth()
    {
        return derateMonth;
    }
    public void setDepositRate(BigDecimal depositRate)
    {
        this.depositRate = depositRate;
    }

    public BigDecimal getDepositRate()
    {
        return depositRate;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setMature(String mature)
    {
        this.mature = mature;
    }

    public String getMature()
    {
        return mature;
    }
    public void setQuantity(Integer quantity)
    {
        this.quantity = quantity;
    }

    public Integer getQuantity()
    {
        return quantity;
    }
    public void setGoods(String goods)
    {
        this.goods = goods;
    }

    public String getGoods()
    {
        return goods;
    }
    public void setBeginMonth(String beginMonth)
    {
        this.beginMonth = beginMonth;
    }

    public String getBeginMonth()
    {
        return beginMonth;
    }
    public void setFinishMonth(String finishMonth)
    {
        this.finishMonth = finishMonth;
    }

    public String getFinishMonth()
    {
        return finishMonth;
    }
    public void setDiscountVolume(String discountVolume)
    {
        this.discountVolume = discountVolume;
    }

    public String getDiscountVolume()
    {
        return discountVolume;
    }
    public void setBeginTime(Date beginTime)
    {
        this.beginTime = beginTime;
    }

    public Date getBeginTime()
    {
        return beginTime;
    }
    public void setFinishTime(Date finishTime)
    {
        this.finishTime = finishTime;
    }

    public Date getFinishTime()
    {
        return finishTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("favouredConfId", getFavouredConfId())
            .append("favouredPolicyId", getFavouredPolicyId())
            .append("normCn", getNormCn())
            .append("normApply", getNormApply())
            .append("postId", getPostId())
            .append("derateMonth", getDerateMonth())
            .append("depositRate", getDepositRate())
            .append("money", getMoney())
            .append("mature", getMature())
            .append("quantity", getQuantity())
            .append("goods", getGoods())
            .append("beginMonth", getBeginMonth())
            .append("finishMonth", getFinishMonth())
            .append("discountVolume", getDiscountVolume())
            .append("beginTime", getBeginTime())
            .append("finishTime", getFinishTime())
            .toString();
    }
}
